<!--
 * @Description: 
 * @Author: Sun
 * @Date: 2019-08-14 05:42:19
 * @LastEditors: Sun
 * @LastEditTime: 2019-08-14 21:32:32
 -->
<template>
  <div>
      <h2>News Index page</h2>
       <p>NewsID:{{$route.params.newsId}}</p>
        <ul>
          <li><a href="/">Home</a></li>
          <li><nuxt-link :to="{name:'news-id',params:{id:123,title:'jspang.com'}}">News-1</nuxt-link></li>
        </ul>
  </div>
</template>
<script>
export default {
  transition:'test'
}
</script>